<%@page contentType="text/html; charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Menu</title>
<style type="text/css">
  <!--
    body {
    background-color: #FAFAFA;
    }
  -->
</style>
<link href="<s:url value="/css/admin.css"/>" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<s:url value="js/prototype.js"/>"></script>
<script language="javascript" type="text/javascript">
function showMemu(i) {
  Element.toggle("t" + i);
}

function over(tid)
{
	tid.style.backgroundColor="#ebeadd";
}

function out(tid)
{
	tid.style.backgroundColor="#ffffff";
}
</script>
</head>
<body>
<table width="160" border="0" cellspacing="2" cellpadding="0" class="table2">
  <tr>
    <td>
      <table width="100%" border="0" cellspacing="3" cellpadding="0" class="table3">
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(0)">&nbsp;□ Department 
                </td>
              </tr>
            </table>
			<table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t0" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="initsavedepartment" includeParams="none"/>" target="mainFrame">Add dept</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="department" includeParams="none"/>" target="mainFrame">List dept</a>
                </td>
              </tr>
           </table>
          </td>
        </tr>
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(1)">&nbsp;□ User
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t1" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="initsaveuser" includeParams="none"/>" target="mainFrame">Add user</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="user" includeParams="none"/>" target="mainFrame">List user</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(2)">&nbsp;□ BugInfo </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t2" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="initsavedebug" includeParams="none"/>" target="mainFrame">Add bug</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="debuglist" includeParams="none"/>" target="mainFrame">List bug</a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td>
			<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(3)">&nbsp;□ System </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t3" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="feedbackconfig" includeParams="none"/>" target="mainFrame">Feedback</a>
                </td>
              </tr>
            </table>
			</td>
        </tr>
        <tr>
          <td>
			<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(4)">&nbsp;□ Analysis </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t4" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="statdebugbymonth" includeParams="none"/>" target="mainFrame">By Date</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="statdebugbydept" includeParams="none"/>" target="mainFrame">By dept</a>
                </td>
              </tr>
            </table>
			</td>
        </tr>
        <tr>
          <td>
			<table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
              <tr>
                <td class="title" height="21" onClick="showMemu(5)">&nbsp;□ Email </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t5" class="table4">
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="emailconfig" includeParams="none"/>" target="mainFrame">Email setup</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="emailtemplate" includeParams="none"/>" target="mainFrame">Template</a>
                </td>
              </tr>
              <tr>
                <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                  <a href="<s:url action="email" includeParams="none"/>" target="mainFrame">List Email</a>
                </td>
              </tr>
            </table>
			</td>
        </tr>
      </table>
    	 <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table4">
             <tr>
               <td class="title" height="21" onClick="showMemu(2)">&nbsp;□ Profile </td>
             </tr>
           </table>
           <table width="100%" border="0" cellspacing="1" cellpadding="0" style="display:" id="t2" class="table4">
             <tr>
               <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                 <a href="<s:url action="viewUserDetail" includeParams="none"/>" target="mainFrame">MyInfo</a>
               </td>
             </tr>
             <tr>
               <td class="item" height="21" align="center" onMouseOver="over(this);" onMouseOut="out(this)">
                 <a href="<s:url action="goChangePassword" includeParams="none"/>" target="mainFrame">ChangePassword</a>
               </td>
             </tr>
     </table>
      
    </td>
  </tr>
</table>
	</body>
</html>
